package patternmining.model.graph.java;

import patternmining.model.graph.Edge;
import patternmining.model.graph.bpsl.BpslReturnType;

public class JavaReturnType extends JavaRelationship {

    public JavaReturnType(JavaEntity origin, JavaEntity destination){
        super(origin, destination);
    }

    public String toString(){
        return "Return-type";
    }

    @Override
    public boolean match(Edge otherEdge){
        return otherEdge instanceof BpslReturnType;
    }
    
}
 
